All Questions
6 questions
0votes
4answers
2kviews
Frontend/backend SPA communication: how to handle a list of string options
I have single page application with an Angular frontend and a Spring REST-backend. What is the proper way to handle a list of string-based options in the fronted the enduser can select from, which ...
0votes
1answer
1kviews
REST API implementation for graph data - Where to calculate graph units
We have a graph that shows bandwidth usage over time. The bandwidth is returned from the server in bytes. We need to decide which units to show in the graph in case there are several different ...
1vote
2answers
2kviews
Hardcoding on frontend
I have an API which returns a list of articles. An article can have three status: Approved, Pending and Rejected. Now the front-end needs to hit the API in following scenarios: Get all the articles ...
25votes
3answers
20kviews
Is it normal design to completely decouple backend and frontend web applications and allow them to communicate with (JSON) REST API?
I am creating new business web application and I want to achieve: Use the best technologies from their respective realms. I want reliable backend framework with solid ORM. And I want the most advanced ...
0votes
3answers
400views
Should REST APIs contain the ability to dispatch email?
When building a service that uses both a back-end REST API, and (a) front-end application(s), is it proper to build into that API the ability to dispatch email? Take Twitter for example; for those ...
6votes
1answer
3kviews
Is having only static pages calling the backend a good idea?
I'm new to web applications development, specially when it comes to frontend, but as I understood, a typical structure for a big application would have a frontend php (or equivalent) layer calling the ...